package icu.qx.pro.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import icu.qx.pro.domain.gbs.GbsGood;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 过程检验对象 pro_work_report
 *
 * @author yong
 * @date 2024-07-14
 */
public class ProWorkReport extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 报工code
     */
    private String reportCode;

    /**
     * 报工数量
     */
    @Excel(name = "报工数量")
    private BigDecimal reportCompleteNum;

    /**
     * 报工人
     */
    @Excel(name = "报工人")
    private Long reportPeoCode;
    private String reportPeoName;

    /**
     * 报工时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "报工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /**
     * 是否质检 默认 0未质检 1已质检 2 已审核
     */
    @Excel(name = "是否质检 默认 0未质检 1已质检 2 已审核")
    private String reportQc;

    /**
     * 检验单code
     */
    @Excel(name = "检验单code")
    private String reportQcCode;

    /**
     * 质检单名称
     */
    @Excel(name = "质检单名称")
    private String reportQcName;

    /**
     * 质检类型
     */
    @Excel(name = "质检类型")
    private String reportType;

    /**
     * 质检人
     */
    @Excel(name = "质检人")
    private Long reportQcPeo;

    /**
     * 质检人名称
     */
    @Excel(name = "质检人名称")
    private String reportQcPeoName;

    /**
     * 工单code
     */
    @Excel(name = "工单code")
    private String reportOCode;

    /**
     * 工单名
     */
    @Excel(name = "工单名")
    private String reportOCodeName;

    /**
     * 工单批次
     */
    @Excel(name = "工单批次")
    private String reportOBatch;

    /**
     * 产品code
     */
    @Excel(name = "产品code")
    private String reportPCode;
    private GbsGood gbsGood;

    /**
     * bomcode
     */
    @Excel(name = "bomcode")
    private String reportBom;

    /**
     * bomversion
     */
    @Excel(name = "bomversion")
    private String reportBomVersion;

    /**
     * 工单任务code
     */
    @Excel(name = "工单任务code")
    private String reportTCode;

    /**
     * 工单任务名
     */
    @Excel(name = "工单任务名")
    private String reportTCodeName;

    /**
     * 生产单元名
     */
    @Excel(name = "生产单元名")
    private String reportWCellName;
    private String reportWCell;

    /**
     * 工艺路线名
     */
    @Excel(name = "工艺路线名")
    private String reportRouteName;
    private String reportRoute;

    /**
     * 工序名
     */
    @Excel(name = "工序名")
    private String reportProcedureName;

    /**
     * 工序code
     */
    @Excel(name = "工序code")
    private String reportProcedure;

    /**
     * 生产班组名
     */
    @Excel(name = "生产班组名")
    private String reportGroupName;
    private String reportGroup;

    /**
     * 质检数
     */
    @Excel(name = "质检数")
    private BigDecimal reportQcNum;

    /**
     * 合格数
     */
    @Excel(name = "合格数")
    private BigDecimal reportGood;

    /**
     * 质检时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "质检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportQcTime;

    /**
     * 质检结果 0不合格 1合格
     */
    @Excel(name = "质检结果 0不合格 1合格")
    private String reportResult;

    /**
     * 报工设备
     */
    @Excel(name = "报工设备")
    private String reportDevCode;

    private String reportWManager;
    private String reportWMangerName;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String reportDesc;

    /**
     * 工资结算方式
     */
    @Excel(name = "工资结算方式")
    private String reportCalcSalType;

    /**
     * 计件单价
     */
    @Excel(name = "计件单价")
    private BigDecimal reportCalcSalSingle;

    /**
     * 报工时长
     */
    @Excel(name = "报工时长")
    private BigDecimal reportCalcSalTime;

    /**
     * 工资合计
     */
    @Excel(name = "工资合计")
    private BigDecimal reportCalcSalTotal;

    public String getReportWMangerName() {
        return reportWMangerName;
    }

    public void setReportWMangerName(String reportWMangerName) {
        this.reportWMangerName = reportWMangerName;
    }

    public String getReportWCell() {
        return reportWCell;
    }

    public void setReportWCell(String reportWCell) {
        this.reportWCell = reportWCell;
    }

    public String getReportRoute() {
        return reportRoute;
    }

    public void setReportRoute(String reportRoute) {
        this.reportRoute = reportRoute;
    }

    public String getReportGroup() {
        return reportGroup;
    }

    public void setReportGroup(String reportGroup) {
        this.reportGroup = reportGroup;
    }

    public String getReportWManager() {
        return reportWManager;
    }

    public void setReportWManager(String reportWManager) {
        this.reportWManager = reportWManager;
    }

    public String getReportPeoName() {
        return reportPeoName;
    }

    public void setReportPeoName(String reportPeoName) {
        this.reportPeoName = reportPeoName;
    }

    public GbsGood getGbsGood() {
        return gbsGood;
    }

    public void setGbsGood(GbsGood gbsGood) {
        this.gbsGood = gbsGood;
    }

    public void setReportCode(String reportCode) {
        this.reportCode = reportCode;
    }

    public String getReportCode() {
        return reportCode;
    }

    public void setReportCompleteNum(BigDecimal reportCompleteNum) {
        this.reportCompleteNum = reportCompleteNum;
    }

    public BigDecimal getReportCompleteNum() {
        return reportCompleteNum;
    }

    public void setReportPeoCode(Long reportPeoCode) {
        this.reportPeoCode = reportPeoCode;
    }

    public Long getReportPeoCode() {
        return reportPeoCode;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportQc(String reportQc) {
        this.reportQc = reportQc;
    }

    public String getReportQc() {
        return reportQc;
    }

    public void setReportQcCode(String reportQcCode) {
        this.reportQcCode = reportQcCode;
    }

    public String getReportQcCode() {
        return reportQcCode;
    }

    public void setReportQcName(String reportQcName) {
        this.reportQcName = reportQcName;
    }

    public String getReportQcName() {
        return reportQcName;
    }

    public void setReportType(String reportType) {
        this.reportType = reportType;
    }

    public String getReportType() {
        return reportType;
    }

    public void setReportQcPeo(Long reportQcPeo) {
        this.reportQcPeo = reportQcPeo;
    }

    public Long getReportQcPeo() {
        return reportQcPeo;
    }

    public void setReportQcPeoName(String reportQcPeoName) {
        this.reportQcPeoName = reportQcPeoName;
    }

    public String getReportQcPeoName() {
        return reportQcPeoName;
    }

    public void setReportOCode(String reportOCode) {
        this.reportOCode = reportOCode;
    }

    public String getReportOCode() {
        return reportOCode;
    }

    public void setReportOCodeName(String reportOCodeName) {
        this.reportOCodeName = reportOCodeName;
    }

    public String getReportOCodeName() {
        return reportOCodeName;
    }

    public void setReportOBatch(String reportOBatch) {
        this.reportOBatch = reportOBatch;
    }

    public String getReportOBatch() {
        return reportOBatch;
    }

    public void setReportPCode(String reportPCode) {
        this.reportPCode = reportPCode;
    }

    public String getReportPCode() {
        return reportPCode;
    }

    public void setReportBom(String reportBom) {
        this.reportBom = reportBom;
    }

    public String getReportBom() {
        return reportBom;
    }

    public void setReportBomVersion(String reportBomVersion) {
        this.reportBomVersion = reportBomVersion;
    }

    public String getReportBomVersion() {
        return reportBomVersion;
    }

    public void setReportTCode(String reportTCode) {
        this.reportTCode = reportTCode;
    }

    public String getReportTCode() {
        return reportTCode;
    }

    public void setReportTCodeName(String reportTCodeName) {
        this.reportTCodeName = reportTCodeName;
    }

    public String getReportTCodeName() {
        return reportTCodeName;
    }

    public void setReportWCellName(String reportWCellName) {
        this.reportWCellName = reportWCellName;
    }

    public String getReportWCellName() {
        return reportWCellName;
    }

    public void setReportRouteName(String reportRouteName) {
        this.reportRouteName = reportRouteName;
    }

    public String getReportRouteName() {
        return reportRouteName;
    }

    public void setReportProcedureName(String reportProcedureName) {
        this.reportProcedureName = reportProcedureName;
    }

    public String getReportProcedureName() {
        return reportProcedureName;
    }

    public void setReportProcedure(String reportProcedure) {
        this.reportProcedure = reportProcedure;
    }

    public String getReportProcedure() {
        return reportProcedure;
    }

    public void setReportGroupName(String reportGroupName) {
        this.reportGroupName = reportGroupName;
    }

    public String getReportGroupName() {
        return reportGroupName;
    }

    public void setReportQcNum(BigDecimal reportQcNum) {
        this.reportQcNum = reportQcNum;
    }

    public BigDecimal getReportQcNum() {
        return reportQcNum;
    }

    public void setReportGood(BigDecimal reportGood) {
        this.reportGood = reportGood;
    }

    public BigDecimal getReportGood() {
        return reportGood;
    }

    public void setReportQcTime(Date reportQcTime) {
        this.reportQcTime = reportQcTime;
    }

    public Date getReportQcTime() {
        return reportQcTime;
    }

    public void setReportResult(String reportResult) {
        this.reportResult = reportResult;
    }

    public String getReportResult() {
        return reportResult;
    }

    public void setReportDevCode(String reportDevCode) {
        this.reportDevCode = reportDevCode;
    }

    public String getReportDevCode() {
        return reportDevCode;
    }

    public void setReportDesc(String reportDesc) {
        this.reportDesc = reportDesc;
    }

    public String getReportDesc() {
        return reportDesc;
    }


    public String getReportCalcSalType() {
        return reportCalcSalType;
    }

    public void setReportCalcSalType(String reportCalcSalType) {
        this.reportCalcSalType = reportCalcSalType;
    }

    public void setReportCalcSalSingle(BigDecimal reportCalcSalSingle) {
        this.reportCalcSalSingle = reportCalcSalSingle;
    }

    public BigDecimal getReportCalcSalSingle() {
        return reportCalcSalSingle;
    }

    public void setReportCalcSalTime(BigDecimal reportCalcSalTime) {
        this.reportCalcSalTime = reportCalcSalTime;
    }

    public BigDecimal getReportCalcSalTime() {
        return reportCalcSalTime;
    }

    public void setReportCalcSalTotal(BigDecimal reportCalcSalTotal) {
        this.reportCalcSalTotal = reportCalcSalTotal;
    }

    public BigDecimal getReportCalcSalTotal() {
        return reportCalcSalTotal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("reportCode", getReportCode())
                .append("reportCompleteNum", getReportCompleteNum())
                .append("reportPeoCode", getReportPeoCode())
                .append("reportTime", getReportTime())
                .append("reportQc", getReportQc())
                .append("reportQcCode", getReportQcCode())
                .append("reportQcName", getReportQcName())
                .append("reportType", getReportType())
                .append("reportQcPeo", getReportQcPeo())
                .append("reportQcPeoName", getReportQcPeoName())
                .append("reportOCode", getReportOCode())
                .append("reportOCodeName", getReportOCodeName())
                .append("reportOBatch", getReportOBatch())
                .append("reportPCode", getReportPCode())
                .append("reportBom", getReportBom())
                .append("reportBomVersion", getReportBomVersion())
                .append("reportTCode", getReportTCode())
                .append("reportTCodeName", getReportTCodeName())
                .append("reportWCellName", getReportWCellName())
                .append("reportRouteName", getReportRouteName())
                .append("reportProcedureName", getReportProcedureName())
                .append("reportProcedure", getReportProcedure())
                .append("reportGroupName", getReportGroupName())
                .append("reportQcNum", getReportQcNum())
                .append("reportGood", getReportGood())
                .append("reportQcTime", getReportQcTime())
                .append("reportResult", getReportResult())
                .append("reportDevCode", getReportDevCode())
                .append("reportDesc", getReportDesc())
                .append("reportCalcSalType", getReportCalcSalType())
                .append("reportCalcSalSingle", getReportCalcSalSingle())
                .append("reportCalcSalTime", getReportCalcSalTime())
                .append("reportCalcSalTotal", getReportCalcSalTotal())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
